package com.hcb.tonguetiphealth.widget.drinksbook;

import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;

import com.hcb.tonguetiphealth.view.R;
import com.hcb.tonguetiphealth.widget.GeneralWidget;

public class DrinksBookSendExplainWidget extends GeneralWidget implements OnClickListener {
	private Activity ctx;
	private LinearLayout bt_back;
	
	public DrinksBookSendExplainWidget(Context context) {
		super(context);
		ctx = (Activity)context;
		inflate(context, R.layout.drinks_book_send_explain, this); 
		
		bt_back = (LinearLayout)findViewById(R.id.drinks_book_back_button);
		bt_back.setOnClickListener(this);
	}
	
	public void onClick(View v) {
		switch(v.getId()) {
		case R.id.drinks_book_back_button:
			ctx.setContentView(new DrinksBookAddressInfoWidget(ctx));
			break;
		default:
			break;
		}
	}
	
	@Override
	public void notifyAdapter() {
		
	}
}
